package com.filldream.fastboot.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信参数配置
 * </p>
 *
 * @author RickSun
 * @since 2020-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WxConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 关联ID
     */
    private Long linkId;
    /**
     * 微信类型 1-小程序 2-公众号 3-app
     */
    private Integer type;
    /**
     * 类型 
     */
    @TableField("appId")
    private String appId;
    @TableField("appSecret")
    private String appSecret;
    private String accessToken;
    private String refreshToken;
    private Date createTime;
    private Date updateTime;


}
